package com.cloud2eye.auth.jwt;

import org.springframework.security.core.GrantedAuthority;

/**
 * Created by hp on 2017/10/19.
 */
public class UrlGrantedAuthority implements GrantedAuthority {

    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String getAuthority() {
        return this.url;
    }

    public UrlGrantedAuthority(String url) {
        this.url = url;
    }
    public UrlGrantedAuthority() {
    }

}
